<?php

namespace backend\models;

/**
 * @author  shuang
 * @date    2017-1-2 21:53:50
 * @version V1.0
 * @desc    
 */
use common\models\UserProfile;

class MY_UserProfile extends UserProfile {

    public function getUserinvite() {
        return $this->hasOne(MY_User::className(), ['my_code' => 'invite_code']);
    }

}
